package com.threeti.jiayusms.domain.service.communicationlog;

import java.util.List;

import com.threeti.jiayusms.domain.model.legacy.CommunicationLog;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface CommunicationLogQueryService {

	public CommunicationLog findCommunicationLogBy(Long logId);
	
	/** 根据通信规则编号取得特定的通信规则 */
	CommunicationLog findCommunicationLogBy(String logId);
	
	/** 分页取得所有通信规则(无条件查询) */
	PagedListHandler<CommunicationLog> findAllLogTemplatesByPage(int currentPageIndex, int startingIndex);
	 
	 /** 根据条件(模糊)查询取得短信模板 */
	PagedListHandler<CommunicationLog> findLogTemplatesByPage(DynaSearchCriteria dynaSearchCriteria, int currentPageIndex, int startingIndex);
	  
	  
	List<CommunicationLog> findLogTemplatesByList(DynaSearchCriteria dynaSearchCriteria);  
	  
}
